create an augmented matrix